package com.example.cloudindex.web.remote;

import com.example.cloudindex.web.vo.Info;
import com.example.cloudindex.web.vo.User;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class OrderActionImpl implements IOrderAction{
    @Override
    public String order() {
        return " 降级的Feign Order ";
    }

    @Override
    public String hello(String name) {
        return " Fegin 你好 " + name;
    }

    @Override
    public String hello1(String name) {
        return null;
    }

    @Override
    public int add(int a, int b) {
        return 0;
    }

    @Override
    public User user(User user) {
        return null;
    }

    @Override
    public User user1(User user, int age, char gender) {
        return null;
    }

    @Override
    public Map<String, Object> test(Info info) {
        return null;
    }
}
